public class Beer

{
    private String name;
    private double alcohol;


    public  String getName() {return name;}
    public  double getAlcohol(){  return  alcohol;}
    public void  setName(String Name) { name=Name;}
    public void  setAlcohol(double Alcohol){  alcohol=Alcohol; }
    public  double intoxicated(double weight)
    {
        double numDrink;
        numDrink=(0.08+0.015)*weight/(12*7.5*alcohol);
        return numDrink;
    }
}
